package com.bw.educate.client;

import com.bw.educate.entity.EduRes;
import com.bw.educate.entity.EduTeacher;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("education-resouse")
public interface CourseRes {

    @GetMapping("/res/getres/{id}")
    public EduRes findResById(@PathVariable("id") Long id);

}
